package cn.edu.scau.cmi.linzhanyi.abstractFactory;

import cn.edu.scau.cmi.linzhanyi.abstractFactory.domain.PICCBodyInsurance;
import cn.edu.scau.cmi.linzhanyi.abstractFactory.domain.PICCCarInsurance;
import cn.edu.scau.cmi.linzhanyi.abstractFactory.domain.PICCMultipleAccidents;
import cn.edu.scau.cmi.linzhanyi.abstractFactory.domain.PICCPeopleInsurance;
import cn.edu.scau.cmi.linzhanyi.abstractFactory.domainAbstractClass.Insurance;

public class PICCFactory extends AbstractFactory {

	@Override
	public Insurance createBodyInsurance() {
		// TODO Auto-generated method stub
		return new PICCBodyInsurance();
	}

	@Override
	public Insurance createCarInsurance() {
		// TODO Auto-generated method stub
		return new PICCCarInsurance();
	}

	@Override
	public Insurance createPeopleInsurance() {
		// TODO Auto-generated method stub
		return new PICCPeopleInsurance();
	}

	@Override
	public Insurance createMultipleAccidents() {
		// TODO Auto-generated method stub
		return new PICCMultipleAccidents();
	}


    

}
